package com.itheima.tanhua.dubbo.api;

import com.itheima.tanhua.model.domain.User;
import com.itheima.tanhua.model.domain.UserInfo;
import com.itheima.tanhua.model.vo.*;

import java.util.Date;
import java.util.List;

public interface UserService {
    public User selectUserBymobile(String mobile);

    Long getUserIdByPhone(String phone);

    void insertUserPhone(LoginVerificationVo loginVerificationVo);

    void addUserInfo(UserInfo userInfo);

    SettingsVo selectUserSettingsById(Long id);

    void insertQuestion(String content, Long id);

    void saveSetting(SettingsVo vo);

    List<BlackListVo> getBlacklist(Long id);

    void deleteBlackList(Integer uid,Long id);

    List<RecommendationVo> getRecommendationVoList(Integer age, String city);

    boolean updateUserInfo(UserInfo userInfo);

    //查用户详细资料
    UserInfo getUserInfo(Long userId);
}
